3.2.94 \(\int \frac {h+i x}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx\) [194]

Optimal. Leaf size=71 \[ \frac {e^{-\frac {a}{b}} i \text {Ei}\left (\frac {a+b \log (c (e+f x))}{b}\right )}{b c d f^2}+\frac {(f h-e i) \log (a+b \log (c (e+f x)))}{b d f^2} \]

[Out]

i*Ei((a+b*ln(c*(f*x+e)))/b)/b/c/d/exp(a/b)/f^2+(-e*i+f*h)*ln(a+b*ln(c*(f*x+e)))/b/d/f^2

________________________________________________________________________________________

Rubi [A]
time = 0.15, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.233, Rules used = {2458, 12, 2395, 2336, 2209, 2339, 29} \begin {gather*} \frac {i e^{-\frac {a}{b}} \text {Ei}\left (\frac {a+b \log (c (e+f x))}{b}\right )}{b c d f^2}+\frac {(f h-e i) \log (a+b \log (c (e+f x)))}{b d f^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(h + i*x)/((d*e + d*f*x)*(a + b*Log[c*(e + f*x)])),x]

[Out]

(i*ExpIntegralEi[(a + b*Log[c*(e + f*x)])/b])/(b*c*d*E^(a/b)*f^2) + ((f*h - e*i)*Log[a + b*Log[c*(e + f*x)]])/
(b*d*f^2)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2336

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Dist[1/(n*c^(1/n)), Subst[Int[E^(x/n)*(a + b*x)^p
, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[1/n]

Rule 2339

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/(x_), x_Symbol] :> Dist[1/(b*n), Subst[Int[x^p, x], x, a + b*L
og[c*x^n]], x] /; FreeQ[{a, b, c, n, p}, x]

Rule 2395

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol]
:> With[{u = ExpandIntegrand[(a + b*Log[c*x^n])^p, (f*x)^m*(d + e*x^r)^q, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[
{a, b, c, d, e, f, m, n, p, q, r}, x] && IntegerQ[q] && (GtQ[q, 0] || (IGtQ[p, 0] && IntegerQ[m] && IntegerQ[r
]))

Rule 2458

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_.) + (g_.)*(x_))^(q_.)*((h_.) + (i_.)*(x_))
^(r_.), x_Symbol] :> Dist[1/e, Subst[Int[(g*(x/e))^q*((e*h - d*i)/e + i*(x/e))^r*(a + b*Log[c*x^n])^p, x], x,
d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, n, p, q, r}, x] && EqQ[e*f - d*g, 0] && (IGtQ[p, 0] || IGtQ[
r, 0]) && IntegerQ[2*r]

Rubi steps

\begin {align*} \int \frac {h+194 x}{(d e+d f x) (a+b \log (c (e+f x)))} \, dx &=\frac {\text {Subst}\left (\int \frac {\frac {-194 e+f h}{f}+\frac {194 x}{f}}{d x (a+b \log (c x))} \, dx,x,e+f x\right )}{f}\\ &=\frac {\text {Subst}\left (\int \frac {\frac {-194 e+f h}{f}+\frac {194 x}{f}}{x (a+b \log (c x))} \, dx,x,e+f x\right )}{d f}\\ &=\frac {\text {Subst}\left (\int \left (\frac {194}{f (a+b \log (c x))}+\frac {-194 e+f h}{f x (a+b \log (c x))}\right ) \, dx,x,e+f x\right )}{d f}\\ &=\frac {194 \text {Subst}\left (\int \frac {1}{a+b \log (c x)} \, dx,x,e+f x\right )}{d f^2}-\frac {(194 e-f h) \text {Subst}\left (\int \frac {1}{x (a+b \log (c x))} \, dx,x,e+f x\right )}{d f^2}\\ &=\frac {194 \text {Subst}\left (\int \frac {e^x}{a+b x} \, dx,x,\log (c (e+f x))\right )}{c d f^2}-\frac {(194 e-f h) \text {Subst}\left (\int \frac {1}{x} \, dx,x,a+b \log (c (e+f x))\right )}{b d f^2}\\ &=\frac {194 e^{-\frac {a}{b}} \text {Ei}\left (\frac {a+b \log (c (e+f x))}{b}\right )}{b c d f^2}-\frac {(194 e-f h) \log (a+b \log (c (e+f x)))}{b d f^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 76, normalized size = 1.07 \begin {gather*} \frac {e^{-\frac {a}{b}} i \text {Ei}\left (\frac {a}{b}+\log (c (e+f x))\right )-c e i \log (a+b \log (c (e+f x)))+c f h \log (f (a+b \log (c (e+f x))))}{b c d f^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(h + i*x)/((d*e + d*f*x)*(a + b*Log[c*(e + f*x)])),x]

[Out]

((i*ExpIntegralEi[a/b + Log[c*(e + f*x)]])/E^(a/b) - c*e*i*Log[a + b*Log[c*(e + f*x)]] + c*f*h*Log[f*(a + b*Lo
g[c*(e + f*x)])])/(b*c*d*f^2)

________________________________________________________________________________________

Maple [A]
time = 2.04, size = 88, normalized size = 1.24

method result size
derivativedivides \(-\frac {\frac {i \,{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {h c f \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {c e i \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}}{c \,f^{2} d}\) \(88\)
default \(-\frac {\frac {i \,{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{b}-\frac {h c f \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}+\frac {c e i \ln \left (a +b \ln \left (c f x +c e \right )\right )}{b}}{c \,f^{2} d}\) \(88\)
risch \(-\frac {i \,{\mathrm e}^{-\frac {a}{b}} \expIntegral \left (1, -\ln \left (c f x +c e \right )-\frac {a}{b}\right )}{d \,f^{2} c b}+\frac {h \ln \left (a +b \ln \left (c f x +c e \right )\right )}{d f b}-\frac {e i \ln \left (a +b \ln \left (c f x +c e \right )\right )}{d \,f^{2} b}\) \(96\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((i*x+h)/(d*f*x+d*e)/(a+b*ln(c*(f*x+e))),x,method=_RETURNVERBOSE)

[Out]

-1/c/f^2/d*(i/b*exp(-a/b)*Ei(1,-ln(c*f*x+c*e)-a/b)-h*c*f*ln(a+b*ln(c*f*x+c*e))/b+c*e*i*ln(a+b*ln(c*f*x+c*e))/b
)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x+h)/(d*f*x+d*e)/(a+b*log(c*(f*x+e))),x, algorithm="maxima")

[Out]

h*log((b*log(f*x + e) + b*log(c) + a)/b)/(b*d*f) + I*integrate(x/((b*d*f*log(c) + a*d*f)*x + (b*d*log(c) + a*d
)*e + (b*d*f*x + b*d*e)*log(f*x + e)), x)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 76, normalized size = 1.07 \begin {gather*} \frac {{\left ({\left (c f h - i \, c e\right )} e^{\frac {a}{b}} \log \left (\frac {b \log \left (c f x + c e\right ) + a}{b}\right ) + i \, \operatorname {log\_integral}\left ({\left (c f x + c e\right )} e^{\frac {a}{b}}\right )\right )} e^{\left (-\frac {a}{b}\right )}}{b c d f^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x+h)/(d*f*x+d*e)/(a+b*log(c*(f*x+e))),x, algorithm="fricas")

[Out]

((c*f*h - I*c*e)*e^(a/b)*log((b*log(c*f*x + c*e) + a)/b) + I*log_integral((c*f*x + c*e)*e^(a/b)))*e^(-a/b)/(b*
c*d*f^2)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {h}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx + \int \frac {i x}{a e + a f x + b e \log {\left (c e + c f x \right )} + b f x \log {\left (c e + c f x \right )}}\, dx}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x+h)/(d*f*x+d*e)/(a+b*ln(c*(f*x+e))),x)

[Out]

(Integral(h/(a*e + a*f*x + b*e*log(c*e + c*f*x) + b*f*x*log(c*e + c*f*x)), x) + Integral(i*x/(a*e + a*f*x + b*
e*log(c*e + c*f*x) + b*f*x*log(c*e + c*f*x)), x))/d

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((i*x+h)/(d*f*x+d*e)/(a+b*log(c*(f*x+e))),x, algorithm="giac")

[Out]

integrate((h + I*x)/((d*f*x + d*e)*(b*log((f*x + e)*c) + a)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {h+i\,x}{\left (d\,e+d\,f\,x\right )\,\left (a+b\,\ln \left (c\,\left (e+f\,x\right )\right )\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((h + i*x)/((d*e + d*f*x)*(a + b*log(c*(e + f*x)))),x)

[Out]

int((h + i*x)/((d*e + d*f*x)*(a + b*log(c*(e + f*x)))), x)

________________________________________________________________________________________